Search results
1441 packages found
decache (Delete Cache) lets you delete modules from node.js require() cache; useful when testing your modules/projects.
Import a module while bypassing the cache
Simplifying the use of mocks with Node.js
Simplifying the use of mocks with Node.js
Cache requires to be lazy-loaded when needed.
Require a file without adding it into the require cache
- cache
- deno
- deno-edition
- deno-entry
- denoland
- es2022
- export-default
- node
- require
- require-fresh
- requirefresh
- typed
- types
- typescript
Control require cache, take snapshots and restore. Useful when testing code.
Wipes node.js cache in a controlled way.
The closest you can get to require something with bypassing the require cache
Wipes webpack cache in a controled way.
A wrapper for require which loads modules even if they are cached.
decache (Delete Cache) lets you delete modules from node.js require() cache; useful for dev servers
The module has JS functions to check all imports or required modules and check if the file is a ES Module or a CJS/ JS Module or Script
- require
- cache
- uncache
- uncached
- module
- fresh
- fetch
- all
- imports
- requires
- es imports
- cjs import
- cjs require
- mjs import
- View more
Deno like and GoLang like Mode in ES and commonjs: Replace nodejs require function with `requireurls` function or `use loader functionality using loader.mjs` replacing import functionality that can fetch remote urls. `require-urls` helps you require remot
- require
- urls
- remote
- requireurl
- require-url
- requireurls
- require-urls
- urlrequire
- url-requires
- url-require
- urlrequires
- deno style require
- golang style require
- cache remote require files
![logo](https://user-images.githubusercontent.com/2213682/146607186-8e13ddef-26a4-4ebf-befd-5aac9d77c090.png)
- ECMAScript 5
- delete
- .env
- define
- reducer
- cache
- slice
- protobuf
- descriptor
- Object.is
- test
- ajax
- ES2021
- indicator
- View more
Clear a module from the cache
decache (Delete Cache) lets you delete modules from node.js require() cache; useful when testing your modules/projects.
Simple API for capturing and resetting Node's require() cache state
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
- classes
- streams
- forEach
- fastclone
- importexport
- variables
- optimist
- var
- ansi
- parsing
- classname
- protocol-buffers
- utility
- file
- View more
[![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-downloads-url] [![MIT License][license-image]][license-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![FOSSA
- workflow
- japanese
- formatting
- east-asian-width
- form-validation
- ES6
- fastclone
- random
- util
- typed
- sharedarraybuffer
- es2018
- wordwrap
- accessibility
- View more